<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:63:"E:\xampp\htdocs\yicai\public/../app/home\view\notice\index.html";i:1514960855;s:61:"E:\xampp\htdocs\yicai\public/../app/home\view\common\nav.html";i:1514960909;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="__IMG__/favicon.ico" />
		<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
		<title>平台公告</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/index.css"/>
		<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<style>
			.mui-control-content {
				background-color: white;
				min-height: 215px;
			}
			.mui-control-content .mui-loading {
				margin-top: 50px;
			}
			.mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar{
				background-color: #12C2FE;
			}
			.mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active{
				color: #12C2FE;
			}
		</style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
		    <h1 class="mui-title">平台公告</h1>
		    <a href="service.html" class="right sever_box"><img class="width_100 mg_top5" src="__IMG__/icon_service.png" alt="" /></a>
		</header>
		<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item1 <?php if($controllerName=='index'): ?>mui-active<?php endif; ?>" href="<?php echo url('index/index'); ?>">
        <span class="mui-icon <?php if($controllerName=='index'): ?>mui-active<?php endif; ?>"><img class="width_100" src="__IMG__/icon_01b.png"/></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='lottery'): ?>mui-active<?php endif; ?> " href="<?php echo url('lottery/index'); ?>">
        <span class="mui-icon
"><img class="width_100" src="__IMG__/icon_02.png"/></span>
        <span class="mui-tab-label">开奖</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='notice'): ?>mui-active<?php endif; ?>" href="<?php echo url('notice/index'); ?>">
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_03.png"/></span>
        <span class="mui-tab-label">公告</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='recharge'): ?>mui-active<?php endif; ?> " href="<?php echo url('recharge/index'); ?>">
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_04.png"/></span>
        <span class="mui-tab-label">充值</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='mine'): ?>mui-active<?php endif; ?>" href="<?php echo url('mine/index'); ?>">
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_05.png"/></span>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>
		<div class="mui-content">
		    <div id="slider" class="mui-slider">
				<div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
					<a class="mui-control-item" href="#item1mobile">
					系统消息
				    </a>
					<a class="mui-control-item" href="#item2mobile">
						我的消息
					</a>
				</div>
				<div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-6"></div>
				<div class="mui-slider-group">
					<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
						<div id="scroll1" class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
									<li class="mui-table-view-cell ">
										<span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">系统消息系统消息系统消息</span>    
										<span class="mui-col-xs-5">2017-12-27 15：20</span>  
									</li>
								</ul>
							</div>
						</div>
					</div>
					<div id="item2mobile" class="mui-slider-item mui-control-content">
						<div id="scroll2" class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<div class="mui-loading">
									<div class="mui-spinner">
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script>
			mui.init({
				swipeBack: false
			});
			(function($) {
				$('.mui-scroll-wrapper').scroll({
					indicators: true //是否显示滚动条
				});
				var html2 = '<ul class="mui-table-view"><li class="mui-table-view-cell"><span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">我的消息 我的消息 我的消息 </span> <span class="mui-col-xs-5">2017-12-27 15：20</span> </li><li class="mui-table-view-cell"><span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">我的消息 我的消息 我的消息 </span> <span class="mui-col-xs-5">2017-12-27 15：20</span> </li><li class="mui-table-view-cell"><span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">我的消息 我的消息 我的消息 </span> <span class="mui-col-xs-5">2017-12-27 15：20</span> </li><li class="mui-table-view-cell"><span class="mui-col-xs-6 mui-ellipsis" style="vertical-align: top;">我的消息 我的消息 我的消息 </span> <span class="mui-col-xs-5">2017-12-27 15：20</span> </li></ul>';
			
				var item2 = document.getElementById('item2mobile');
				document.getElementById('slider').addEventListener('slide', function(e) {
					if (e.detail.slideNumber === 1) {
						if (item2.querySelector('.mui-loading')) {
							setTimeout(function() {
								item2.querySelector('.mui-scroll').innerHTML = html2;
							}, 500);
						}
					}
				});
				var sliderSegmentedControl = document.getElementById('sliderSegmentedControl');
				$('.mui-input-group').on('change', 'input', function() {
					if (this.checked) {
						sliderSegmentedControl.className = 'mui-slider-indicator mui-segmented-control mui-segmented-control-inverted mui-segmented-control-' + this.value;
						//force repaint
						sliderProgressBar.setAttribute('style', sliderProgressBar.getAttribute('style'));
					}
				});
			})(mui);
		</script>
	</body>
</html>
